package com.novax.ex.activity.open.model.response;

import com.novax.ex.common.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * Description: 商品备注
 *
 * @author Deucalion@novax.email
 * @date 2023/3/29 15:53
 */
@Schema(description = "商品备注")
@Data
@EqualsAndHashCode(callSuper=true)
public class MallProductMemosResponse extends BaseEntity {
    /**
    * 商品表id
    */
    @Schema(description = "商品表id")
    private Long mallProductId;

    /**
    * 操作类型：1.改售卖价格 2.改成本价格
    */
    @Schema(description = "操作类型：1.改售卖价格 2.改成本价格")
    private Integer operationType;

    /**
    * 旧金额
    */
    @Schema(description = "旧金额")
    private BigDecimal oldPrice;

    /**
    * 新金额
    */
    @Schema(description = "新金额")
    private BigDecimal newPrice;

    /**
    * 备注-冗余
    */
    @Schema(description = "备注-冗余")
    private String memo;
}
